package bjh.client;

import com.alibaba.fastjson.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author wenchang
 * @create 2020-11-03-20:59
 */
@FeignClient(value = "iot-device-service" ,url = "${iot.proxy.url}")
@Component
public interface Third {
    @GetMapping("/api/pingliang/weather-service/new/hourly")
    JSONObject get();
}
